<template>
    <div style="text-align: center; padding: 50px;">
        <h1>这里是首页, 这是一个VUE的测试项目</h1>
        <button @click="gs">getSign</button>
        <button @click="getMd5">getMd5</button>
    </div>
</template>

<script>
    import {getSign} from "../lib/sign";
    import md5 from "md5-js"
    export default {
      name: "index",
      methods: {
          gs(){
              let param = {'category': 123,'page':23,'test':"test"};
              let sign = getSign(param, new Date().getTime())
              console.log(sign);
          },
          getMd5(){
              console.log(md5("123456"));
          }
      }
    }
</script>

<style scoped>


</style>